﻿namespace Sidvall.Security
{
    [System.Flags()]
    public enum OperationTypes
    {
        None = 0,
        DeleteItems = 1,
        NewItems = 2,
        GetItems = 4,
        GetItemsMetadata = 8,
        AddItems = 16,
        UpdateItems = 32,
        UpdateItemValues = 64,
        SaveItems = 128,
        Execute = 256,
        GetGroup = GetItems | GetItemsMetadata,
        All = DeleteItems | NewItems | GetGroup | AddItems | UpdateItems | UpdateItemValues | SaveItems | Execute,
    }
}